package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.User;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;

@Mapper
public interface userMapper {

    @Select("select * from user where openid=#{openid}")
    User getByOpenid(String openid);



    void insert(User user);

    Integer findbydate(LocalDateTime begin, LocalDateTime end);
}
